<template>
  <div @click = 'fatherFn'>
    <a @click.stop='sonFn' href="https://www.baidu.com/">百度</a>
    <hr>
    <a href="https://diannao.jd.com/"  @click.prevent.stop>京东</a>
  </div>
</template>

<script>


export default {

 methods:{
  fatherFn(){
    console.log('father');
  },
  sonFn(){
    console.log('son');
  }
 }
}
</script>

<style>

</style>
